var attrs={ foo: 'bar', hello: 'world'  }

<div ${attrs}>
    Hello ${name}!
</div>